{template 'common/header'}
<ul class="nav nav-tabs">
	<li class="active"><a href="#">回向列表</a></li>
</ul>
<style>
#nav-tabs>li.active>a, #nav-tabs>li.active>a:hover, #nav-tabs>li.active>a:focus{ color:#333333; text-decoration:underline; }
</style>
<ul class="nav nav-tabs" id="nav-tabs" style="border:none;">
{loop $glist $glist}
	<li class="active">
    <a style="border:none; background:none;" href="{php echo $this->createWebUrl('news',array('display' => 1,'cid' =>$glist['class_id']))}">{$glist['classname']}</a>
    </li>
{/loop}

</ul>
<style>
.table td span{display:inline-block;margin-top:4px;}
.table td input{margin-bottom:0;}
</style>
<div class="panel panel-default">
	<div class="table-responsive panel-body">
		<table class="table">
			<thead>
				<tr>
					<th style="width:50px">序号</th>
					<th>善信佛子</th>
					<th>姓名</th>
					<th>愿望</th>
					<th style="width:200px; text-align:right;">操作</th>
				</tr>
			</thead>
			<tbody>
				{loop $list $item}
				<tr>
					<td>{$item['id']}</td>
					<td>
						<a href="" style="color:#333;">{$item['fozi']}</a>
					</td>				
                    <td>
						<a href="" style="color:#333;">{$item['name']}</a>
					</td>	                    <td>
						<a href="" style="color:#333;">{$item['give']}</a>
					</td>				
					<td style="text-align:right; position:relative;">
						<a onclick="return confirm('此操作不可恢复，确认吗？'); return false;" 
                        href="{php echo $this->createWebUrl('hui', array('act' => 'delete','id' => $item['id']))}" title="删除">删除</a>
					</td>
				</tr>
				{/loop}

			</tbody>
		</table>
	</div>
</div>
{$pager}

{template 'common/footer'}
